tools: code around gcc warning about 0 length format string
authorØyvind Kolås <pippin@gimp.org>
Sat, 19 May 2018 11:35:04 +0000 (13:35 +0200)
committerØyvind Kolås <pippin@gimp.org>
Sat, 19 May 2018 11:35:04 +0000 (13:35 +0200)
tools/babl_fish_path_fitness.c

index d56ca053697e38918b503c3b344a3025ad86e64c..cd012c06b722e8e432c0ccefff4ec3167d26d1c3 100644 (file)
@@ -91,7 +91,7 @@ static int source_no = 0;
 static int source_each (Babl *babl,
                         void *userdata)
 {
-  printf (SL);
+  printf ("%s", SL);
   babl_format_class_for_each (destination_each, babl);
 #ifdef UTF8
   printf ("──%2i %s%s", source_no++, babl->instance.name, NL);